/* ########## */
/* Global */
/* ########## */
.mb-pds {
  margin-bottom: 1.0714rem !important;
}
app-html-repeater-metric,
app-raw-html-object {
  min-width: 100%;
}
@media screen and (max-width: 1023.98px) {
  .sticky-top {
    position: relative !important;
  }
}
.w-max-1300 {
  max-width: 1300px;
}
.columns-250 {
  column-count: 4;
  column-width: 250px;
  column-gap: 1.5rem;
}
.pds-app main .pds-content {
  padding-top: 0;
}
main app-map,
main app-dashboard {
  padding-top: 0.75rem;
  padding-bottom: 3rem;
}
@media screen and (min-width: 576px) {
  main app-map,
  main app-dashboard {
    padding-top: 2rem;
  }
}
main app-map main {
  display: block;
}
body p {
  font-size: 1rem;
  line-height: 1.6;
}
p + p {
  margin-top: 1.5rem;
}
app-image-object,
.rounded-image {
  border-radius: 16px;
}
img {
  max-width: 100%;
  max-height: 100%;
}
.wysiwyg {
  max-width: 100ch;
}
/* TODO: Not sure if this should go into production. */
.highchart-split-row {
  margin: 0 -0.75rem;
}
.highchart-split-row > highcharts-chart {
  margin: 0 0.75rem;
}
@media screen and (min-width: 992px) {
  .highchart-split-row {
    margin: 0 -1.75rem;
  }
  .highchart-split-row > highcharts-chart {
    margin: 0 1.75rem;
  }
}

base-primary-layout h1, base-primary-layout h2, base-primary-layout h3, base-primary-layout h4, base-primary-layout h5, base-primary-layout h6 {
  font-weight: 600;
  line-height: 1.2;
}
base-primary-layout app-dashboard-object-container h1 {
  line-height: 1;
}
base-primary-layout h6 {
  font-size: 1rem;
}
base-footer {
  padding: 0.5rem 0;
}
/* ########## */

/* ########## */
/* DROPDOWN MENU */
/* ########## */
/* TODO -- Needs to be scoped to specific dropdowns. Hiding for now. */
/*
.dropdown .dropdown-menu:before,
.dropdown .dropdown-menu:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-width: 0 8px 7px;
  border-style: solid;  
  z-index: 1001;
  left: calc(50% - 8px);
}
.dropdown .dropdown-menu:after {
  top: -9px;
}
.dropdown .dropdown-menu:before {
  top: -10px;
  background: transparent;
}
*/
.dropup .dropdown-menu,
.dropright .dropdown-menu,
.dropdown .dropdown-menu,
.dropleft .dropdown-menu {
  font-size: 1rem;
  padding: 0;
  border-width: 1px;
  border-style: solid;
  margin: -4px 0 0;
}
.dropdown .dropdown-menu .dropdown-item {
  border-top: 0;
  border-right: 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-left: 0;
}
.dropdown .dropdown-menu .dropdown-item:last-of-type:hover,
.dropdown .dropdown-menu .dropdown-item:last-of-type {
  border-bottom: 0 !important;
}
.dropdown-item:hover {
  border: 0 !important;
}
/* ########## */

/* ########## */
/* FORCE ELEMENT DISPLAY NONE */
/* ########## */
header.primary-header .product-menu,
header.primary-header .product-title,
header.primary-header .nav-row + .nav-row,
app-dashboard-breadcrumbs,
app-footer,
#tools {
  display: none !important;
}
@media print {
  app-dashboard-navigation,
  base-gtranslate {
    display: none !important;
  }
}
/* ########## */

/* ########## */
/* Header/navigation */
/* ########## */
header.primary-header {
  border-bottom-width: 3px;
  border-bottom-style: solid;
  position: relative;
  z-index: 1000;
  font-weight: bold;  
}
header.primary-header .product-logo {
  margin-left: 1rem;
  margin-right: 2.5rem;
}
@media screen and (min-width: 992px) {
  header.primary-header .product-logo {
    margin-left: 1.25rem;
  }
}
header.primary-header .primary-logo {
  max-width: 160px !important; /* overrides logo reduction to 80px */
  max-height: 36px;
  height: auto !important;
  width: auto !important;
}
header.primary-header .nav-row {
  border: 0 !important;
  font-size: 1.25rem;
  align-items: center;
}
base-header-tabs .nav-row.nav-active-border {
  padding: 0.5rem 0;
}
header.primary-header .product-menu-toggle {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
}
base-header header.primary-header base-navigation base-header-tabs .nav-link,
base-header header.primary-header base-navigation base-header-tabs .nav-link:active,
base-header header.primary-header base-navigation base-header-tabs .nav-link:hover {
  border-color: transparent;
  border-bottom-width: .25rem;
  border-bottom-style: solid;
  border-color: transparent;
  border-top-width: .25rem;
  border-top-style: solid;
  padding: 0.5rem 0 !important;
}
header.primary-header .sidebar-navigation .nav-pane {
  margin-top: 0;
}

base-sidebar-navigation .nav-pane .nav-link {
  margin: 0;
  padding: 1rem;
}
base-sidebar-navigation .sidebar-nav-summary .nav-breadcrumb {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
}
/* ########## */

/* ########## */
/* School profile header */
/* ########## */
.ce-school-title--h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem !important;
  line-height: 1;
  font-weight: bold;
}
.ce-school-title--ul {
  display: flex;
  flex-wrap: wrap;
  /* flex-direction: column; */
  flex-direction: row;
  list-style: none;
  padding: 0;
  margin: 0;
}
/*
@media screen and (min-width: 768px) {
  .ce-school-title--ul {
    flex-direction: row;
  }
}
*/
.ce-school-title--li {
  font-size: 13px;
  line-height: 22px;
  margin: .5rem 1.5rem 0 1.75rem;
  position: relative;
}
/*
@media screen and (min-width: 768px) and (max-width: 1023px) {
.ce-school-title--li {
    flex-basis: calc(50% - 3.25rem);
  }
}
*/
.ce-school-title--icon {
  position: absolute;
  top: 2px;
  left: -1.75rem;
}
/* ########## */

/* ########## */
/* Hero */
/* ########## */
.ce-hero {
  position: relative;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.ce-hero [class*='col'] {
  justify-content: center;
  display: flex;
  flex-direction: column;
}
@media print {
  .ce-hero {
    margin-bottom: -1rem;
  }
  .ce-hero [class*='col'] {
    justify-content: flex-start;
  }
}

.ce-hero__p {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.ce-hero__h1 {
  font-size: 40px;
  margin-bottom: 24px;
  line-height: 1.2;
}
.ce-hero .ng-select.ng-select-single .ng-select-container {
  height: 3rem;
}
.ce-hero .ng-select .ng-select-container .ng-value-container .ng-placeholder {
  font-size: 1.25rem;
}
.ce-hero .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
  font-size: 1.25rem;
  position: relative;
  top: 0;
  padding-left: 0;
}
.ce-hero .ng-dropdown-panel {
  font-size: 1rem;
}
/* 
@media screen and (min-width: 992px) {
  .ce-hero__h1 {
    font-size: 56px;
  }
}
@media screen and (min-width: 1200px) {
  .ce-hero__h1 {
    font-size: 64px;
  }
}
*/
.ce-hero__h2 {
  font-size: 24px;
  line-height: 1.2;
}
.ce-hero__img {
  max-width: 100%;
}
.ce-hero base-global-search {
  margin-bottom: 1.5rem;
}
/* ########## */

/* ########## */
/* Home page main links */
/* ########## */
.ce-content__h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 24px;
}
@media screen and (min-width: 768px) {
  .ce-content__h1 {
    font-size: 48px;
  }
}
.ce-content__h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 12px;
}
.ce-content__p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.ce-content__link {
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-decoration: underline;
  padding: 0 !important;
}
@media screen and (min-width: 768px) {
  .ce-content__link {
    font-size: 28px !important;
  }
}
.ce-content__link-heading {
  font-size: 18px;
  margin-bottom: 0;
  line-height: 1.7;
}
/* ########## */

/* ########## */
/* Sections */
/* ########## */
.page-header {
  font-size: 1.5rem;
  line-height: 1.5;
}
@media screen and (min-width: 1200px) {
  .page-header {
    font-size: 2.5rem;
  }
}
.section-header {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 0 0;
  margin: 0;
  line-height: 1.5;
}
@media screen and (min-width: 1200px) {
  .section-header {
    font-size: 2rem;
  }
}
.section-divider {
  border-top-width: 2px;
  border-top-style: solid;
  margin: 2rem 0;
}
/* ########## */

/* ########## */
/* Single-value data card */
/* ########## */
.single-value {
  font-size: 1.5rem;
  font-weight: bold;
}
.single-value--large {
  font-size: 2rem;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .single-value {
    font-size: 2.5rem;
  }
  .single-value--large {
    font-size: 3.5rem;
  }
}

/* ########## */

/* ########## */
/* Below should be moved to components, adding here for testing before proper updates and version bumps */
/* ########## */

/* ########## */
/* Card */
/* ########## */
.card-header,
.card-body,
.card-footer {
  padding: 0 !important;
}
.card .card-header {
  padding: 1.5rem 1.5rem 0 1.5rem !important;
}
.card .card-body {
  padding: 1.5rem !important;
}
.card .card-footer {
  padding: 0 1.5rem 1.5rem !important;
}
app-dashboard-object-card .pds-panel,
app-dashboard-object-card.pds-panel {
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
}
.pds-panel-header .pds-loader.align-self-center {
  align-self: flex-start !important;
  margin-right: 1.0714rem !important;
}
app-dashboard-object-card .pds-panel-header {
  border-bottom: 0px !important;
  margin-top: 1rem;
  margin-bottom: 1rem;
  height: auto !important;
}
app-card-actions {
  position: absolute;
  top: 0.1rem;
  right: 1.1rem;
}
app-dashboard-object-card .pds-panel-header button.pds-button-square {
  border-left: 0;
  margin-right: 0;
  border-radius: 3px;
}
app-dashboard-object-card .pds-panel-header h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-left: 0;
  margin-right: 0;
}
.pds-panel .pds-panel-header h3 {
  height: auto;
}
.pds-panel-body h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
/* .pds-panel .pds-panel-body h5 {
  margin-left: 1.0714rem;
  margin-right: 1.0714rem;
} */
.pds-panel--remove-styles { /* TEMP:: in dashboard-core-ui styles but not currently in release stream */
  border: 0 !important;
}
/* Card headers when NOT wrapped by .pds-panel */
.c-header {
  line-height: 1.2;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}
.ratio-16-9 {
  padding-top: 56.25%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: center;
  background-size: cover;
}
.info-panel {
  flex-direction: column;
  background: white;
  border: 1px solid hsla(0,0%,0%,0.15);  
  border-radius: 4px;
  padding: 1rem;
  justify-content: flex-start;
  display: flex;
  width: 100%;
}
/* ########## */

/* ########## */
/* Simple text/list styles */
/* ########## */
.ce-content__header {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.pds-panel h3.ce-content__header {
  font-size: 1.5rem;
  line-height: 1.5;
}
.ce-content__p {
  margin-bottom: 1rem;
}
.ce-content__list {
  margin-bottom: 0;
}
.ce-content__list-item {
  display: inline-block;
}
.ce-content__list-item + .ce-content__list-item {
  margin-top: 0.75rem;
}
.hasUL ul {
  margin-left: 1.5rem;
}
/* ########## */

/* ########## */
/* Compare Table */
/* ########## */

.ce-compare__table {
  width: 100%;
  table-layout: fixed;
}
.ce-compare__table-th,
.ce-compare__table-td {
  padding: 0.75rem;
  vertical-align: top;
}
.ce-compare__table-th {
  font-weight: normal;
}
.ce-compare__table-value {
  font-size: 1.5rem;
}
@media screen and (max-width: 767.98px) {
  .ce-compare__table-thead {
    display: none;
  }
  .ce-compare__table-tr {
    display: flex;
    flex-direction: column;
    border: 1px solid;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
  }
  .ce-compare__table-td {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .ce-compare__table-td + .ce-compare__table-td {
    border-top: 1px dashed;
  }
  .ce-compare__table-value {
    font-weight: bold;
    margin-left: 1rem;
  }
}

@media screen and (min-width: 768px) {
  .ce-compare__table-header-list {
    font-weight: normal;
    padding: 0 0 0 1.0625rem;
    margin: 0;
  }
  .ce-compare__table-header-list-item {
    margin-top: 0.5rem;
  }
  .ce-compare__table-tr + .ce-compare__table-tr {
    border-top: 1px solid;
  }
  .ce-compare__table-tbody .ce-compare__table-td {
    text-align: center;
  }
  .ce-compare__table-tbody .ce-compare__table-th,
  .ce-compare__table-tbody .ce-compare__table-td {
    padding: 2rem 0.75rem;
  }
  .ce-compare__table-link {
    display: none;
  }
}
/* ########## */

/* ########## */
/* Find Table */
/* ########## */
app-school-list .ag-theme-balham {
  font-size: 1rem !important;
}
app-school-list .ag-theme-balham .ag-root-wrapper {
  border-radius: 4px;
}
app-school-list .ag-theme-balham .ag-header {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 700;
}
app-school-list .ag-theme-balham .ag-header-cell {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
/* app-school-list .ag-theme-balham .ag-header .ag-header-cell-text {
  margin-right: 0.5rem;
} */
app-school-list .ag-theme-balham .ag-cell-label-container {
  justify-content: flex-start !important;
  width: auto !important;  
}
app-school-list .ag-theme-balham .ag-header,
app-school-list .ag-theme-balham .ag-root-wrapper,
app-school-list .ag-theme-balham .ag-paging-panel {
  border: 0 !important;
}
app-school-list .ag-theme-balham .ag-body-viewport.ag-layout-normal {
  border-width: 1px;
  border-style: solid;
  border-radius: 0 0 4px 4px;
}
app-school-list .ag-theme-balham .ag-cell {
  line-height: 1.4 !important;
  padding: 0.75rem;
  display: flex;
  align-items: center;
}
app-school-list .ag-theme-balham .ag-row:not(.ag-row-first) {
  border-width: 1px !important;
}
app-school-list .ag-theme-balham .ag-ltr .ag-row-drag,
app-school-list .ag-theme-balham .ag-ltr .ag-selection-checkbox,
app-school-list .ag-theme-balham .ag-ltr .ag-group-expanded,
app-school-list .ag-theme-balham .ag-ltr .ag-group-contracted {
  margin-right: 0 !important;
}
/* .hasCompare .ag-cell:first-child.ag-cell-not-inline-editing.ag-cell-auto-height {
  justify-content: center;
} */
app-school-list .ag-theme-balham .ag-floating-top {
  border-style: solid;
  border-width: 1px 1px 0 !important;
}
app-school-list .ag-theme-balham .ag-floating-top-container{
  width: 100% !important;
}
/* app-school-list .ag-theme-balham .ag-floating-top .custom-control.custom-checkbox {
  margin-left: -0.25rem;
} */
app-school-list .ag-theme-balham .ag-keyboard-focus .ag-header-cell:focus:after {
  top: 1rem;
}
/* ########## */

/* ########## */
/* SCHOOL PROFILE NAVIGATION */
/* ########## */
.dash-nav__item {
  border-style: solid;
  border-width: 0 0 2px !important;
}
.dash-nav__item:hover {
  border-style: solid;
  border-width: 0 0 2px !important;
} 
.dash-nav__item.active {
  border-style: solid;
  border-width: 0 0 2px !important;
}
/* ########## */

/* ########## */
/* GENERIC TABLES */
/* ########## */
.c-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}
.c-table td,
.c-table th {
  border-style: solid;
  vertical-align: middle;
  padding: 10px 12px;
  border-style: solid;
  border-width: 0 1px 1px 0;  
}
.c-table tbody th {
  background: #f5f5f5;
  font-weight: normal;
}
.c-table thead th {
  background: #e6e6e6;
}
.c-table thead th,
.c-table tbody tr:first-child td,
.c-table tbody tr:first-child th {
  border-top-width: 1px
}
.c-table tbody td:first-child,
.c-table thead th:first-child {
  border-left-width: 1px
}
/* ########## */

/* ########## */
/* FAKE TABLES */
/* ########## */
.table-row {
  align-items: center;
  padding-bottom: 0.5rem;
}
.table-row + .table-row {
  border-top-width: 1px;
  border-top-style: solid;
  padding-top: 0.5rem;
}
.table-row--first-large .table-row:first-child {
  font-size: 2rem;
  font-weight: bold;
}
/* ########## */

/* ########## */
/* VERTICAL DIVIDER */
/* ########## */
.hasVerticalDivider {
  display: flex;
  margin-top: 1rem;
  flex-wrap: nowrap;
  flex-direction: column;  
}
.hasVerticalDividerBefore {
  position: relative;
  display: flex;
  margin-bottom: 0.5rem;
  align-items: baseline;
  gap: 1rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
@media screen and (min-width: 992px) {
  .hasVerticalDivider {
    flex-direction: row;  
    margin: 1rem auto 0;
  }
  .hasVerticalDividerBefore {
    flex: 0 0 10rem;
    flex-direction: column;
    gap: 0;
    align-items: center;
    padding: 0 1rem;
    max-width: 15rem;
    text-align: center;
    margin-bottom: 0;
  }
  .hasVerticalDividerBefore + .hasVerticalDividerBefore:before {
    content: '';
    height: 100%;
    width: 1px;
    position: absolute;
    display: block;
    left: -1px;
    top: 0;
  }  
}
/* ########## */

.loading-bar-fixed > #loading-bar-spinner {
  background: #ffffff80;
  padding: 0.5rem;
  border-radius: 50%;
}

/* ########## */
/* Bug fix: UIHN-20326 */
/* ########## */
.highcharts-label.highcharts-tooltip.highcharts-color-0 {
  opacity: 1 !important;
}

/* ########## */
/* Bug fix: UIHN-59106 */
/* Hides Google Translate banner */
/* ########## */
base-gtranslate .ng-clear-wrapper,
body > .skiptranslate {
  display: none !important;
}

/* ########## */
/* Bug reported in Slack */
/* Replaces font-weight 700 set on the HtmlRepeater component */
/* Fixed on the component in the 24.2.0.0 release */
/* ########## */
.htmlRepeater .customHtmlContainer .row {
  font-weight: 400;
}

/* UIHN-68317 */
/* Hide map style switcher */
.mapboxgl-ctrl:has(.mapboxgl-ctrl-style) {
  display: none;
}